package com.zzy.mccjt.autoconfigure;

import com.zzy.mccjt.autoconfigure.constants.AppContstants;
import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.ComponentScan;

import javax.annotation.PostConstruct;

/**
 * 配置程序主包的扫描路径
 *
 * @author zzy
 * @version 1.0
 * @date 2019/4/18 15:22
 */
@Slf4j
@ComponentScan(basePackages = {AppContstants.MAIN_PACKAGE_PATH+".*",AppContstants.MAIN_PACKAGE_PATH+".*.*",AppContstants.MAIN_PACKAGE_PATH+".*.*.*"})
public class BootStrapAutoConfiguration {
    @PostConstruct
    void print() {
        log.info("BootStrapAutoConfiguration load completed.");
    }
}
